package com.xtaller.lazy.parameter;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @version V1.0
 * @author: Taller
 * @date: 2019-04-10
 * @Description: 用户数据
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "用户数据")
public class DocUser {
    @ApiModelProperty(value = "账号")
    @TableField(value = "loginName")
    private String loginName;

    @ApiModelProperty(value = "密码")
    @TableField(value = "password")
    private String password;
    
    @ApiModelProperty(value = "真实姓名") 
    @TableField(value = "trueName")
    private String trueName;

    @ApiModelProperty(value = "昵称") 
    @TableField(value = "nickName")
    private String nickName;

    @ApiModelProperty(value = "头像") 
    @TableField(value = "avatar")
    private String avatar;

    @ApiModelProperty(value = "性别") 
    @TableField(value = "sex")
    private String sex;

    @ApiModelProperty(value = "手机号") 
    @TableField(value = "phone")
    private String phone;

    @ApiModelProperty(value = "邮箱") 
    @TableField(value = "email")
    private String email;

}
